Blazor コントロール
CanSort<T>(IDataCollection<T>,String,SortDirection) メソッド

C1.DataCollection アセンブリ > C1.DataCollection 名前空間 > IDataCollectionEx クラス > CanSort メソッド : CanSort<T>(IDataCollection<T>,String,SortDirection) メソッド
The data collection.
The path of the data item to which the sort would be applied.
Whether the sort is ascending or descending.
Returns true if the data collection supports sorting.
シンタックス
'宣言
 
Public Overloads Shared Function CanSort(Of T As Class)( _
   ByVal dataCollection As IDataCollection(Of T), _
   ByVal sortPath As System.String, _
   ByVal direction As SortDirection _
) As System.Boolean
public static System.bool CanSort<T>( 
   IDataCollection<T> dataCollection,
   System.string sortPath,
   SortDirection direction
)
where T: class

パラメータ

dataCollection
The data collection.
sortPath
The path of the data item to which the sort would be applied.
direction
Whether the sort is ascending or descending.

型パラメータ

T
参照

IDataCollectionEx クラス
IDataCollectionEx メンバ
オーバーロード一覧